package com.neusoft.acquistion.sensor.consumer.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author 段静迪
 * @since 2024-04-26 09:27:46
 */

@Tag(name = "测试Swagger3", description = "测试Swagger3注解")
@Schema(description = "Monitor对象" )
@Data
public class Monitor implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema( description = "监视器编号")
    @TableId("sn")
    private String sn;

    @Schema( description ="设备概述")
    private String dsc;

    @Schema( description ="患者身份证号码")
    private String medicalcode;

    @Schema( description ="设备联网IP地址")
    private String hostname;

    @Schema( description ="设备功能描述")
    private String description;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getDsc() {
        return dsc;
    }

    public void setDsc(String dsc) {
        this.dsc = dsc;
    }

    public String getMedicalcode() {
        return medicalcode;
    }

    public void setMedicalcode(String medicalcode) {
        this.medicalcode = medicalcode;
    }



    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Monitor{" +
            "sn = " + sn +
            ", dsc = " + dsc +
            ", medicalcode = " + medicalcode +
            ", hostName = " + hostname +
            ", description = " + description +
        "}";
    }
}
